﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProgramacaoProducaoTela.ascx.cs" Inherits="EFB.Web.telasMobile.ProgramacaoProducaoTela" %>

<table cellpadding="0" style="border: 0px;">
    <tr>
        <td align="left" style="padding-left: 10px;">
            <asp:Label ID="Label1PP" runat="server" Text="Operação"></asp:Label>            
        </td>
    </tr>        
    <tr>
        <td align="left" style="padding-left: 10px;">
            <asp:TextBox ID="txtOperacaoPP" Enabled="false" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="left" style="padding-left: 10px;">
            <asp:Label ID="lblOpPP" runat="server" Text="produto"></asp:Label>            
        </td>
    </tr>        
    <tr>
        <td align="left" style="padding-left: 10px;">
            <asp:TextBox ID="txtOpPP" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="left" style="padding-left: 10px;">
            <asp:Label ID="Label3PP"  runat="server" Text="Data Programa"></asp:Label>            
        </td>
    </tr>        
    <tr>
        <td align="left" style="padding-left: 10px;">
            <asp:TextBox ID="txtDataPrograma" onkeyup="formataData(this,event);" runat="server" MaxLength="10"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidatorDataInicio" runat="server" 
            ControlToValidate="txtDataPrograma" 
            ErrorMessage="Data Programa não pode ser menor que a data atual!" 
            Operator="GreaterThanEqual" Type="Date"></asp:CompareValidator>
        </td>        
    </tr>
    <tr>
        <td align="left" style="padding-left: 10px;">
            <asp:Label ID="Label4PP" runat="server" Text="Quantidade Programada"></asp:Label>            
        </td>
    </tr>        
    <tr>
        <td align="left" style="padding-left: 10px;">
            <asp:TextBox ID="txtQuantidade" runat="server"></asp:TextBox>
        </td>
    </tr>


</table> 
<div style="padding: 5px 5px 5px 5px; width: 95%;">
    <div id="FailureContainer" visible="false" runat="server" style="color:Red; padding: 10px 10px 10px 10px; text-align:left; background-color: #FFFF99;">
        <asp:Label ID="FailureText" runat="server" Text="Label"></asp:Label>
    </div>
</div>
<table cellpadding="0" style="border: 0px;">
    <tr>
        <td align="left" style="padding-left: 10px;">
            <asp:Button ID="btnRegistrar" runat="server" Text="Registrar" 
                onclick="btnRegistrar_Click" />
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:Button ID="btnLimpar" runat="server" Text="Limpar" 
                onclick="btnLimpar_Click" />
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:Button ID="Retornar" runat="server" Text="Retornar" 
                onclick="Retornar_Click" />
        </td>
    </tr>            
</table> 